@charset "UTF-8";
//----------------------------------------------------- 
// typography scss
//----------------------------------------------------- 

// 变量
//-----------------------------------------------------
$article:               true article !default; //第一个变量为是否开启文章详细页样式，第二个为默认的class


// Blockquotes
blockquote {
  padding: 0 0 0 15px;
  margin: 0 0 10px;
  border-left: 3px solid $gray;
  small {
    font-size: $baseFontSize * 0.85;
    display: block;
    line-height: $baseLineHeight;
    color: $grayDark;
    &:before {
      content: '\2014 \00A0';
    }
  }
}


// Quotes
q:before,
q:after,
blockquote:before,
blockquote:after {
  content: "";
}


// Addresses
address {
  display: block;
  margin-bottom: 10px;
  font-style: normal;
  line-height: $baseLineHeight;
}


// hr
hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}


// article style
// 详细页文章内容样式，通过变量$articleStyleSwitch来控制输出
// 详细页内容的默认的class为.article，可通过变量$articleClass来设置
//-----------------------------------------------------    
@if nth($article,1){
  .#{nth($article,2)}{
    line-height: 1.6;
    h1, h2, h3, h4, h5, h6 {
      line-height:1.3;
      margin-bottom:10px;
    }
    ul,ol{
      margin-left: 25px;
      list-style-type:disc;
    }
    ol{
      list-style-type:decimal;
    }
    p, ul, ol, dl{
      margin-bottom:10px;
    }
    ul ul, ul ol, ol ol, ol ul{
      margin-bottom: 0;
    }
    dt{
      font-weight: bold;
      line-height: 1.8;
    }
    dd{
      margin-left: 2em;
    }
    img{
      margin-bottom: 10px;
      border:1px solid $gray;
      padding: 2px;
    }
    .fr img{
      margin-left: 10px;
    }
    .fl img{
      margin-right: 10px;
    }
  }
}